mold (something) to (something)

Translations
adapter (quelque chose) à (quelque chose)
Definitions
To shape, influence, or adapt something so that it fits or conforms to something else, often by changing its form, character, or structure.